package com.ydj.app.protocol.http.stream;

import com.ydj.framework.protocol.JsonBaseRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
@Accessors(chain = true)
public class StreamChatReq extends JsonBaseRequest {

    @ApiModelProperty(value = "对话ID(第一次对话，这里为空)")
    private Long chatId;

    @ApiModelProperty(value = "对话输入的文字")
    @NotBlank(message = "请输入对话内容")
    private String content = "";
}
